package com.ocom.payconfig.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ocom.common.entity.payconfig.EntityXfTimeZone;

import java.util.List;

public interface XfTimeZoneService extends IService<EntityXfTimeZone> {

	List<EntityXfTimeZone> getConsZoneList(Long companyId);

	EntityXfTimeZone findByComIdAndNoAndName(Long comId, Integer zoneNo, String zoneName);

	boolean addXfTimeZone(Long comId, EntityXfTimeZone entityXfTimeZone);

	EntityXfTimeZone findConsZoneName(Long comId, EntityXfTimeZone entityXfTimeZone);

	boolean updateConsZone(Long comId, EntityXfTimeZone entityXfTimeZone);
}
